package cn.bluethink.eguan.core.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 对象类型的动作词典实体
 * 
 * @author 苏州中科蓝迪公司所有(c)2016-2021
 * @version 0.2.0
 * @brief 驿馆+（EGUAN）
 * @note 修订历史：
 * 1、wanglei于2018/11/13设计并构建初始版本v0.2.0
 */
@Table(name = "eg_otaction")
public class EgOtactionEntity implements Serializable {

    private static final long serialVersionUID = 1583676079019321140L;

    /**
     * 被操作的对象类型ID
     */
    @Id
    private Integer otype;
    
    /**
     * 动作类型ID
     */
    @Id
    private Integer atid;
    
    /**
     * 结果对象类型
     */
    private Integer rtype;
    
    @Column(name = "act_flag")
    private Integer actFlag;
    
    public EgOtactionEntity() {
    }

    public EgOtactionEntity(Integer otype, Integer atid, Integer rtype, Integer actFlag) {
        this.otype = otype;
        this.atid = atid;
        this.rtype = rtype;
        this.actFlag = actFlag;
    }

    public Integer getOtype() {
        return otype;
    }

    public void setOtype(Integer otype) {
        this.otype = otype;
    }

    public Integer getAtid() {
        return atid;
    }

    public void setAtid(Integer atid) {
        this.atid = atid;
    }

    public Integer getRtype() {
        return rtype;
    }

    public void setRtype(Integer rtype) {
        this.rtype = rtype;
    }

	public Integer getActFlag() {
		return actFlag;
	}

	public void setActFlag(Integer actFlag) {
		this.actFlag = actFlag;
	}
    
}
